export default {
    state: {
        appId: '',
        bdMapAk: 'eSGfLX4GWoVWu61GW5b4WaSG8FQrPbvT',
        wuBdMapAk: 'DWNotd3kMKh7VsH7qPG5ypbOk0kUwQQB',
        mainThemeColor: '#787ac3',
        //configUrl :'nenxing-3.natapp1.cc',
        appName: 'zpedku platform',
        toUrl: '',
        storeNamePlaceHolder: '优质门店任你搜索',
        storeName: '',

        /** 白名单路由 - - 没绑定手机号码可访问视图资讯类页面：演艺活动、商场活动、交通指南、商家*/
        whiteRoutes: ['/', '/author', '/activityCalendar', '/business', '/baiduGps', '/traffic', '/parking', '/register', '/store', '/store_detail', '/shop', '/shopdetail', '/shopping', '/performance', '/join'],

        //黑名单路由 -- 用于非注册前弹窗提示  推荐有礼 转盘 停车缴费 积分商城 抢优惠券
        blackRouters: ['/recommend_activity', '/dial', '/integrallist', '/account']

    },

    getters: {
        toUrl: state => state.toUrl,
        blackRouters:state=>state.blackRouters,
        whiteRoutes:state=>state.whiteRoutes,
        storeNamePlaceHolder: state => state.storeNamePlaceHolder,
        mainThemeColor: state => state.mainThemeColor,
        bdMapAk: state => state.bdMapAk,
        wuBdMapAk: state => state.wuBdMapAk,
    },
    mutations: {
        SET_URL: (state, toUrl) => {
            state.toUrl = toUrl
        },
        SET_STORE_NAME: (state, storeName) => {
            state.storeName = storeName
        }

    },
    actions: {}
}
